package com.cheetah.start.system.role.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheetah.start.system.role.domain.SysRole;
import com.cheetah.start.system.role.domain.SysRoleAdmin;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 系统管理员角色映射器
 *
 * @author Feel
 * @date 2021/10/17
 */
@Repository
public interface SysRoleAdminMapper extends BaseMapper<SysRoleAdmin> {

    List<String> getByAdminId(Integer adminId);

    List<SysRole> getRoleByAdminId(Integer adminId);
}
